package com.nettest.entity.demo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.nettest.entity.BaseAuditable;

/**
 * @author Nick Mao
 * 
 */
@Entity
@Table(name = "grid50000")
public class Grid50000 extends BaseAuditable{

	private static final long serialVersionUID = -7362637335011670295L;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "item_id")
	public Long itemId;
	@Column(name = "item_nm")
	public String itemName;
	@Column(name = "item_cd")
	public String itemCd;
	

	/**
	 * @param itemID
	 * @param itemName
	 * @param sKU
	 * @param desciption
	 * @param category
	 */
	public Grid50000(long itemID, String itemName, String itemCd) {
		this.itemId = itemID;
		this.itemName = itemName;
		this.itemCd = itemCd;
		
	}
	public Grid50000() {}

	@Override
	public Long getId() {
		return itemId;
	}
	public Long getItemId() {
		return itemId;
	}
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemCd() {
		return itemCd;
	}
	public void setItemCd(String itemCd) {
		this.itemCd = itemCd;
	}
}
